<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="__STATIC__/tan/lib/html5shiv.js"></script>
    <script type="text/javascript" src="__STATIC__/tan/lib/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="__STATIC__/tan/static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="__STATIC__/tan/static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="__STATIC__/tan/lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="__STATIC__/tan/static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="__STATIC__/tan/static/h-ui.admin/css/style.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="__STATIC__/tan/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link href="__STATIC__/tan/lib/lightbox2/2.8.1/css/lightbox.css" rel="stylesheet" type="text/css" >
    <style>
        .item {
            text-align: center;
        }
    </style>
</head>
<body>
    <nav class="breadcrumb">
        <i class="Hui-iconfont">&#xe67f;</i> 司机管理
        <span class="c-gray en">&gt;</span> 已通过司机
        <span class="c-gray en">&gt;</span> 详细资料
        <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
            <i class="Hui-iconfont">&#xe68f;
            </i>
        </a>
    </nav>
</body>
{php}
use think\Db;
    $public_path = ROOT_PATH."public";
{/php}
<div class="page-container">
    <div class="portfolio-content">
        <table class="table table-border table-bordered table-bg">
            <tr class="text-c">
                <th width="40">用户名</th>
                <th width="150">{$users.realname}</th>
                <th width="90">性别</th>
                <th width="150">
                    {switch name="$users['sex']"}
                    {case value='boy'}男{/case}
                    {case value='girl'}女{/case}
                    {default /} ''
                    {/switch}
                </th>
                <th>生日</th>
                <th>{$vo.birthday}</th>
                <th>手机号码</th>
                <th width="130">{$users['mobile']}</th>
                <th>身份证号码</th>
                <th width="130">{$vo['id_card']}</th>
            </tr>
            <tr class="text-c">
                <th>账号</th>
                <th>{$users['account']}</th>
                <th>手机号码</th>
                <th>{$users['mobile']}</th>
                <th>电子邮箱</th>
                <th>{$users['email']}</th>
                <th>微信号</th>
                <th>{$vo['weixin_no']}</th>
                <th>民族</th>
                <th>{$vo['nationality']}</th>
            </tr>
            <tr class="text-c">
                <th>车类型</th>
                <th>
                    {php}$arctic = Db::name('arctic')->where('id',$vo['arctic_id'])->find();;{/php}
                    {if empty($vo['arctic_id']) && empty($arctic)}
                    {$vo.car_type}
                    {else /}
                    {php}echo $arctic['name'];{/php}
                    {/if}
                </th>
                <th>汽车品牌</th>
                <th>
                    {php}$car_brand = Db::name('car_brand')->where('id',$vo['car_brand_id'])->find();{/php}
                    {if empty($vo['car_brand_id']) && empty($car_brand)}
                    {$vo.car_brand}
                    {else /}
                    {php}echo $car_brand['brand_name'];{/php}
                    {/if}
                </th>
                <th>汽车型号</th>
                <th>
                    {php}$car_model = Db::name('car_model')->where('id',$vo['car_model_id'])->find();{/php}
                    {if empty($vo['car_model_id']) && empty($car_model)}
                    {$vo.car_model}
                    {else /}
                    {php}echo $car_model['car_model'];{/php}
                    {/if}
                </th>
                <th>车牌号码</th>
                <th>{$vo['plate_number']}</th>
                <th colspan="1">家乡</th>
                <th colspan="2">{$vo['hometown']}</th>
            </tr>
            <tr class="text-c">
                <th>驾驶证有效期</th>
                <th>{$vo['driving_permit_date']}</th>
                <th>驾驶有效期</th>
                <th>{$vo.driver_license_date}</th>
                <th>驾驶号码</th>
                <th>{$vo.driver_license_number}</th>
                <th>汽车出厂日期</th>
                <th>{$vo.car_product_date}</th>
                <th>车座位</th>
                <th>{$vo['seats']}位</th>
            </tr>
            <tr class="text-c">
                <th>通过</th>
                <th>
                    {if ($vo['isagree']==1)}
                    通过
                    {else /}
                    未通过
                    {/if}
                </th>
                <th>审核状态</th>
                <th>
                    {switch name="$vo['check_status']"}
                    {case value="checked"}已审核{/case}
                    {case value="applying"}审核中{/case}
                    {case value="notapply"}未审核{/case}
                    {/switch}
                </th>
                <th>是否审核</th>
                <th>
                    {if ($vo['ischeck']==1)}
                    已审核
                    {else /}
                    未审核
                    {/if}
                </th>
                <th>居住地</th>
                <th>{$vo['domicile']}</th>
                <th>司机等级</th>
                <th>{$vo['driver_rank_id']}</th>
            </tr>
            <tr class="text-c">
                <th>车前照</th>
                <th>
                    <!--<a href="{$vo['car_front']}" data-lightbox="gallery" data-title="车前照">-->
                        <!--<img width="100" height="100" src="{$vo['car_front']}">-->
                    <!--</a>-->
                    {if empty($vo['car_front']) || !file_exists($public_path.$vo['car_front'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['car_front']}" data-lightbox="gallery" data-title="车前照">
                                <img width="130" height="120" src="{$vo['car_front']}">
                            </a>
                        </li>
                    </ul>
                    {/if}

                </th>
                <th>车内照</th>
                <th>
                    {if empty($vo['in_car']) || !file_exists($public_path.$vo['in_car'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['in_car']}" data-lightbox="gallery" data-title="车内照">
                                <img width="130" height="120" src="{$vo['in_car']}">
                            </a>
                        </li>
                    </ul>
                    {/if}

                </th>
                <th width="80px">车后照</th>
                <th style="text-align: center" width="100px">
                    {if empty($vo['car_back']) || !file_exists($public_path.$vo['car_back'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['car_back']}" data-lightbox="gallery" data-title="车后照">
                                <img width="130" height="120" src="{$vo['car_back']}">
                            </a>
                        </li>
                    </ul>
                    {/if}

                    <!--<img width="100" height="100" src="{$vo['car_back']}"></th>-->
                <th width="80px">行驶证照片</th>
                <th width="100px">

                    {if empty($vo['driving_permit_img']) || !file_exists($public_path.$vo['driving_permit_img'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['driving_permit_img']}" data-lightbox="gallery" data-title="行驶证照片">
                                <img width="130" height="120" src="{$vo['driving_permit_img']}">
                            </a>
                        </li>
                    </ul>
                    {/if}
                    <!--<img width="100" height="100" src="{$vo['driving_permit_img']}">-->
                </th>
                <th width="80px">驾照照片</th>
                <th width="80px">
                    {if empty($vo['driver_license_img']) || !file_exists($public_path.$vo['driver_license_img'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['driver_license_img']}" data-lightbox="gallery" data-title="驾照照片">
                                <img width="130" height="120" src="{$vo['driver_license_img']}">
                            </a>
                        </li>
                    </ul>
                    {/if}

                    <!--<img width="100" height="100" src="{$vo['driver_license_img']}">-->
                </th>
            </tr>
            <tr class="text-c">
                <th>后备箱照片</th>
                <th>
                    {if empty($vo['trunk_photo']) || !file_exists($public_path.$vo['trunk_photo'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['trunk_photo']}" data-lightbox="gallery" data-title="后备箱照片">
                                <img width="130" height="120" src="{$vo['trunk_photo']}">
                            </a>
                        </li>
                    </ul>
                    {/if}

                    <!--<img width="100" height="100" src="{$vo['trunk_photo']}">-->
                </th>
                <th>商业险照片</th>
                <th>
                    {if empty($vo['insurance']) || !file_exists($public_path.$vo['insurance'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['insurance']}" data-lightbox="gallery" data-title="商业险照片">
                                <img width="130" height="120" src="{$vo['insurance']}">
                            </a>
                        </li>
                    </ul>
                    {/if}

                    <!--<img width="100" height="100" src="{$vo['insurance']}"></th>-->
                <th>身份证正面</th>
                <th>

                    {if empty($vo['id_card_front_img']) || !file_exists($public_path.$vo['id_card_front_img'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['id_card_front_img']}" data-lightbox="gallery" data-title="身份证正面">
                                <img width="130" height="120" src="{$vo['id_card_front_img']}">
                            </a>
                        </li>
                    </ul>
                    {/if}
                    <!--<img width="100" height="100" src="{$vo['id_card_front_img']}"></th>-->
                <th>身份证反面</th>
                <th>
                    {if empty($vo['id_card_back_img']) || !file_exists($public_path.$vo['id_card_back_img'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['id_card_back_img']}" data-lightbox="gallery" data-title="身份证反面">
                                <img width="130" height="120" src="{$vo['id_card_back_img']}">
                            </a>
                        </li>
                    </ul>
                    {/if}

                    <!--<img width="100" height="100" src="{$vo['id_card_back_img']}">-->
                </th>
                <th>头像</th>
                <th>
                    {if empty($vo['head_img']) || !file_exists($public_path.$vo['head_img'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['head_img']}" data-lightbox="gallery" data-title="头像">
                                <img width="130" height="120" src="{$vo['head_img']}">
                            </a>
                        </li>
                    </ul>
                    {/if}

                    <!--<img width="100" height="100" src="{$vo['head_img']}">-->
                </th>
            </tr>
            <tr class="text-c">
                <th width="110px">手持身份证照片</th>
                <th>
                    {if empty($vo['take_id_card_img']) || !file_exists($public_path.$vo['take_id_card_img'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['take_id_card_img']}" data-lightbox="gallery" data-title="手持身份证照片">
                                <img width="130" height="120" src="{$vo['take_id_card_img']}">
                            </a>
                        </li>
                    </ul>
                    {/if}
                    <!--<img width="100" height="100" src="{$vo['take_id_card_img']}">-->
                </th>
                <th>其他证书</th>
                <th>
                    <!--<img width="100" height="100" src="{$vo['other_certificate']}">-->
                    {if empty($vo['other_certificate']) || !file_exists($public_path.$vo['other_certificate'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['other_certificate']}" data-lightbox="gallery" data-title="其他证书">
                                <img width="130" height="120" src="{$vo['other_certificate']}">
                            </a>
                        </li>
                    </ul>
                    {/if}
                </th>
                <th>其他证书1</th>
                <th>
                    {if empty($vo['other_certificate1']) || !file_exists($public_path.$vo['other_certificate1'])}
                    暂无图片
                    {else /}
                    <ul class="portfolio-area">
                        <li class="item">
                            <a href="{$vo['other_certificate1']}" data-lightbox="gallery" data-title="其他证书1">
                                <img width="130" height="120" src="{$vo['other_certificate1']}">
                            </a>
                        </li>
                    </ul>
                    {/if}
                    <!--<img width="100" height="100" src="{$vo['other_certificate1']}"></th>-->
                <th>其他证书2</th>
                <th colspan="2">
                    {if empty($vo['other_certificate2']) || !file_exists($public_path.$vo['other_certificate2'])}
                        暂无图片
                    {else /}
                        <ul class="portfolio-area">
                            <li class="item">
                                <a href="{$vo['other_certificate2']}" data-lightbox="gallery" data-title="其他证书2">
                                    <img width="130" height="120" src="{$vo['other_certificate2']}">
                                </a>
                            </li>
                        </ul>
                    {/if}
                </th>
            </tr>

        </table>
    </div>
    <!--<ul class="cl portfolio-area">-->
        <!--<li class="item">-->
            <!--&lt;!&ndash;<div class="portfoliobox">&ndash;&gt;-->
                <!--<div class="picbox"><a href="/upload/img/chufang.jpg" data-lightbox="gallery" data-title="车后照">-->
                    <!--<img src="/upload/img/chufang.jpg"></a></div>-->
                <!--<div class="textbox">车后照 </div>-->
            <!--&lt;!&ndash;</div>&ndash;&gt;-->
        <!--</li>-->
    <!--</ul>-->
    <!--隐藏-->
</div>
    <!--_footer 作为公共模版分离出去-->
    <script type="text/javascript" src="__STATIC__/tan/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="__STATIC__/tan/lib/layer/2.4/layer.js"></script>
    <script type="text/javascript" src="__STATIC__/tan/static/h-ui/js/H-ui.js"></script>
    <script type="text/javascript" src="__STATIC__/tan/static/h-ui/js/H-ui.min.js"></script>
    <script type="text/javascript" src="__STATIC__/tan/static/h-ui.admin/js/H-ui.admin.js"></script>
<!--/_footer 作为公共模版分离出去-->

    <!--请在下方写此页面业务相关的脚本-->
    <script type="text/javascript" src="__STATIC__/tan/lib/lightbox2/2.8.1/js/lightbox.min.js"></script>
<script>

    function showPictures(id) {
        var id = "#" + id;
        // 弹出图片
        layer.open({
            type: 1,
            title: false,
            closeBtn: 1,
            area: ['550px','450px'],
            skin: 'layui-layer-nobg', // 没有背景色
            shadeClose: true,
            content: $(id)
        });
    }
    $(function () {
        $(".portfolio-area li").Huihover();
    })

</script>